//
import * as dbtps from "../types";
import { BaseCommand } from "../base";
/**
 * 公用命令。
 * 短小的命令。
 */
export default class ControllerCommand extends BaseCommand<any, any> {
    public execute(): void {
        switch (this.notification.type) {
            case dbtps.CNotificationType.None:
                break;

            case dbtps.CNotificationType.ApplicationStartup:
                break;

            case dbtps.CNotificationType.NewDocument:
                this.application.createDocument();
                break;

            case dbtps.CNotificationType.OpenDocument:
                break;

            default:
                break;
        }
    }
}